﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WooYang.Data.Attributes
{
    [AttributeUsage(AttributeTargets.Class|AttributeTargets.Property,AllowMultiple=false,Inherited=false)]
    public class DBMapAttribute:Attribute
    {
        private string _name;
        public DBMapAttribute(string name)
        {
            _name = name.Trim();
        }
        public override string ToString()
        {
            return _name;
        }
    }
    
}
